package com.uni.service.impl;


import com.uni.common.util.PageBean;
import com.uni.entity.AboutService;
import com.uni.mapper.AboutServiceMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AboutServiceService {

    @Autowired
    private AboutServiceMapper aboutServiceMapper;
    public List<AboutService> findList(PageBean<AboutService> pageBean){
        return aboutServiceMapper.findList(pageBean);
    }

    public int countList(PageBean<AboutService> pageBean){
        return aboutServiceMapper.countList(pageBean);
    }

    public Integer insert(AboutService aboutService){
        return aboutServiceMapper.insert(aboutService);
    }

    public Integer update(AboutService aboutService){
        return aboutServiceMapper.update(aboutService);
    }
    public Integer delete(List<String> ids){
        return aboutServiceMapper.delete(ids);
    }
}
